package com.laowang.project.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.laowang.framework.aspectj.lang.annotation.Excel;
import com.laowang.framework.web.domain.PageObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * 精彩回顾对象 my_cyh_review
 *
 * @author laowang
 * @date 2023-06-30
 */
@NoArgsConstructor
@Data
public class MyCyhReview extends PageObject implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @ApiModelProperty(value = "${comment}", required = false)
    private Integer id;

    /**
     * 视频地址
     */
    @Excel(name = "视频地址")
    @ApiModelProperty(value = "视频地址", required = false)
    private String url;

    /**
     * 标题
     */
    @Excel(name = "标题")
    @ApiModelProperty(value = "标题", required = false)
    private String title;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "开始时间", required = false)
    private Date createTime;
}
